package com.miniot.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
* 投入品表
*
* @author zzq
* @date 2023-10-17 11:15:55
*/
@Data
//@Builder
@TableName("devotion")
@ApiModel(description = "投入品表")
@NoArgsConstructor
@AllArgsConstructor
public class Devotion extends BaseEntity<Long> {
    private static final long serialVersionUID = 1L;

    /** 投入品名称 */
    @ApiModelProperty(value = "投入品名称")
    private String devotionName;

    @ApiModelProperty(value = "投入品父类id")
    private Long devotionParentTypeId;

    @ApiModelProperty(value = "投入品父类名称")
    private String devotionParentTypeName;

    @ApiModelProperty(value = "投入品子类id")
    private Long devotionChildrenTypeId;

    @ApiModelProperty(value = "投入品子类名称")
    private String devotionChildrenTypeName;

/*    *//** 投入品类型id *//*
    @ApiModelProperty(value = "投入品类型id")
    private Long brandTypeId;
    *//** 投入品类型 *//*
    @ApiModelProperty(value = "投入品类型")
    private String brandType;*/

    /** 品牌名称 */
    @ApiModelProperty(value = "品牌名称")
    private String brandName;
    /** 品牌id */
    @ApiModelProperty(value = "品牌id")
    private Long brandId;
    /** 规格 */
    @ApiModelProperty(value = "规格")
    private String specification;
    /** 单位 */
    @ApiModelProperty(value = "单位")
    private String unit;
    /** 图片 */
    @ApiModelProperty(value = "图片")
    private String img;
    /** 库存  没用到*/
    @ApiModelProperty(value = "库存")
    private Integer number;
    /** 库存成本  没用到*/
    @ApiModelProperty(value = "库存成本")
    private BigDecimal numberCost;
    /** 出入库表id 没用到*/
    @ApiModelProperty(value = "出入库表id")
    private Long manageId;
}
